import request from '@/common/request.js'	

/**
 * 工地售后
 */

// 列表
export function salesList(params){
	return new Promise(function(resolve, reject) {
		request({
			url: "api/aftersalesList",
			method: "get",
			data: params
		}).then(res => {
			return resolve(res)
		})
	})		
}
// 提交
export function salesCreate(params){
	return new Promise(function(resolve, reject) {
		request({
			url: "api/aftersalesCreate",
			method: "post",
			data: params
		}).then(res => {
			return resolve(res)
		})
	})
}